<?php
class EmailQueue_model extends Model {
	/**
	 * 添加邮件到队列
	 * @param unknown_type $cols
	 */
	public function put($cols) {
		$dEmailQueue = new EmailQueue_data();
		return $dEmailQueue->put($cols);
	}
	/**
	 * 从邮件到队列中取出一条数据
	 * @param unknown_type $cols
	 */
	public function get($params = array()) {
		$dEmailQueue = new EmailQueue_data();
		return $dEmailQueue->get($params);
	}
	public function delete($params) {
		$dEmailQueue = new EmailQueue_data();
		return $dEmailQueue->delete($params);
	}
}